//
//  CQNavigationUtiles.h
//  CQFramework
//
//  Created by runo on 16/5/27.
//  Copyright © 2016年 caoqin. All rights reserved.
//

#import <Foundation/Foundation.h>

@class AppDelegate;
@class UIViewController;

@interface CQNavigationUtiles : NSObject

/**设置导航栏透明*/
+(void)cqSetNavigationBarTransparent:(UIViewController *)navItem IsTransparent:(BOOL)transparent;

/**返回上一层界面*/
+ (void)cqSwitchBack:(NSInteger)layerNumber;

/**得到根目录的代理*/
+ (AppDelegate *)cqAppDelegate;

/**退出制定的已存在的viewController*/
+ (void)cqPopViewController:(UIViewController *)controller;

/**添加到这个视图为根视图*/
+ (void)switchToRootViewController:(UIViewController *)controller;

/**无动画Push一个viewController*/
+ (void)cqSwitchToViewControllerNoAnimation:(UIViewController *)controller;

/**带动画Push一个viewController*/
+(void)cqSwitchToViewControllerWithAnimation:(UIViewController *)controller;

@end
